package com.biubiu.biubiuexam.nosql.model;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * The type Exam.
 */
@NoArgsConstructor
@AllArgsConstructor
@Getter
@Setter
@Document("exam")
public class Exam {

    @Id
    private String id;

    private Long clazzId;

    private String name;

    private Long startTime;

    private Long endTime;

    private String description;

    private List<String> examPaperLinks;

    private String link;

}
